<div class="container">
        
    <form action="http://localhost:8080/doForm" 
    enctype="multipart/form-data"
    method="POST" role="form">
        <div class="form-group">
            <label for="">上传图片</label>
            <input type="file" class="form-control"
             name="logo" >
        </div>
        <button type="submit" class="btn btn-primary">添加</button>
    </form>
    
</div>